﻿@{
    ViewBag.Title = "Index2test";
}

<h2>Index2test</h2>


<input id="text" type="text" onkeyup="ss()" />

<button id="hide" >Hide</button>
<button id="show" >Show</button>

@section scripts {
    <script type="text/javascript">
        function ss() {
            var num = document.getElementById("text").value;
            alert(num);
        }

    </script>
}